﻿//-----------------------------------------------------------------------
// <copyright file="spactivityfeed.js" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation 2011.
// All rights reserved.
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
// </copyright>
// <author>Yogesh M Joshi</author>
// <date>02-10-2011</date>
// <summary></summary>
//-----------------------------------------------------------------------

// Load feed from the server with Ajax
function LoadActivityFeed(context) {
    activityFeedDiv = document.getElementById(context);
    callbackEventReference = activityFeedDiv.getAttribute("callbackEventReference");
    args = "";
    eval(callbackEventReference);
}

function LoadActivityFeedCallback(args, context) {
    activityFeedDiv = document.getElementById(context);
    activityFeedDiv.innerHTML = args;
}